package nl.saxion.webtech.roulette.model;


public class Bet {
	private int playerId;
	private int cashAmount;
	private boolean isBlack;

	public Bet() {

	}

	public Bet(int playerId, int amount, boolean isBlack) {
		this.playerId = playerId;
		this.cashAmount = amount;
		this.isBlack = isBlack;
	}

	public int getPlayerId() {
		return playerId;
	}

	public void setPlayerId(int playerId) {
		this.playerId = playerId;
	}

	public int getCashAmount() {
		return cashAmount;
	}

	public void setCashAmount(int cashAmount) {
		this.cashAmount = cashAmount;
	}

	public boolean getIsBlack() {
		return isBlack;
	}

	public void setIsBlack(boolean isBlack) {
		this.isBlack = isBlack;
	}

	public String toString() {
		return "Bet [playerId =" + playerId + ", amount =" + cashAmount
				+ ", isBlack=" + (isBlack ? "Black" : "Red") + "]";
	}

}
